package jfrederick8;

public class Grenade extends Weapon{
	protected int aoe, ammo;
	
	public Grenade(int[] stats, String name, int value, int rarity, int effect, int effectDuration, int factionRestriction, int classRestriction, boolean equipped, int areaOfEffect, int ammo, int maxRange){
		super(stats, name, "A throwable object which will damage all enemies in a certain radius from the detonation point.", "Granade", value, rarity, effect, effectDuration, factionRestriction, classRestriction, 7, (Integer)null, equipped, true, (Integer)null, true, 2, maxRange, 1);
		this.aoe = areaOfEffect;
		this.ammo = ammo;
	}//end constructor Grenade
	public Grenade(int[] stats, String name, int value, int rarity, int effect, int effectDuration, int factionRestriction, int classRestriction, boolean equipped, int areaOfEffect, int ammo){
		this(stats, name, value, rarity, effect, effectDuration, factionRestriction, classRestriction, equipped, areaOfEffect, ammo, 6);
	}//end chain Grenade
}//end class Grenade